dsh-prompt-polish: DeepSeek Harness Input Bar Prompt Optimization Plugin
dsh-prompt-polish is a web-based prompt optimization plugin for DeepSeek Harness (DSH). Integrated with Composer, it allows users to click the Optimize button to send the current draft to a configured model service, generating a clearer and more specific version. The plugin supports six rewrite modes (e.g., default, concise, structured), Chinese/English language selection, and optional context injection such as objectives, to-do items, and conversation summaries. Optimization results are displayed in a popup with a comparison of the original and optimized drafts; users must explicitly click "Adopt" to apply the changes, which only takes effect if the draft remains unchanged. The plugin features runtime limits (such as draft length and timeout mechanisms), streaming stop, a history of the last five attempts, and local settings synchronization. The UI is designed to match the DSH theme and supports keyboard shortcuts and accessibility settings.
Read More